// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Code generated by sidekick. DO NOT EDIT.

//! Traits to mock the clients in this library.
//!
//! Application developers may need to mock the clients in this library to test
//! how their application works with different (and sometimes hard to trigger)
//! client and service behavior. Such test can define mocks implementing the
//! trait(s) defined in this module, initialize the client with an instance of
//! this mock in their tests, and verify their application responds as expected.

#![allow(rustdoc::broken_intra_doc_links)]

pub(crate) mod dynamic;

/// Defines the trait used to implement [super::client::IcebergCatalogService].
///
/// Application developers may need to implement this trait to mock
/// `client::IcebergCatalogService`.  In other use-cases, application developers only
/// use `client::IcebergCatalogService` and need not be concerned with this trait or
/// its implementations.
///
/// Services gain new RPCs routinely. Consequently, this trait gains new methods
/// too. To avoid breaking applications the trait provides a default
/// implementation of each method. Most of these implementations just return an
/// error.
pub trait IcebergCatalogService: std::fmt::Debug + Send + Sync {
    /// Implements [super::client::IcebergCatalogService::get_iceberg_catalog_config].
    fn get_iceberg_catalog_config(
        &self,
        _req: crate::model::GetIcebergCatalogConfigRequest,
        _options: gax::options::RequestOptions,
    ) -> impl std::future::Future<
        Output = crate::Result<gax::response::Response<crate::model::IcebergCatalogConfig>>,
    > + Send {
        gaxi::unimplemented::unimplemented_stub()
    }

    /// Implements [super::client::IcebergCatalogService::list_iceberg_namespaces].
    fn list_iceberg_namespaces(
        &self,
        _req: crate::model::ListIcebergNamespacesRequest,
        _options: gax::options::RequestOptions,
    ) -> impl std::future::Future<
        Output = crate::Result<
            gax::response::Response<crate::model::ListIcebergNamespacesResponse>,
        >,
    > + Send {
        gaxi::unimplemented::unimplemented_stub()
    }

    /// Implements [super::client::IcebergCatalogService::get_iceberg_namespace].
    fn get_iceberg_namespace(
        &self,
        _req: crate::model::GetIcebergNamespaceRequest,
        _options: gax::options::RequestOptions,
    ) -> impl std::future::Future<
        Output = crate::Result<gax::response::Response<crate::model::IcebergNamespace>>,
    > + Send {
        gaxi::unimplemented::unimplemented_stub()
    }

    /// Implements [super::client::IcebergCatalogService::create_iceberg_namespace].
    fn create_iceberg_namespace(
        &self,
        _req: crate::model::CreateIcebergNamespaceRequest,
        _options: gax::options::RequestOptions,
    ) -> impl std::future::Future<
        Output = crate::Result<gax::response::Response<crate::model::IcebergNamespace>>,
    > + Send {
        gaxi::unimplemented::unimplemented_stub()
    }

    /// Implements [super::client::IcebergCatalogService::delete_iceberg_namespace].
    fn delete_iceberg_namespace(
        &self,
        _req: crate::model::DeleteIcebergNamespaceRequest,
        _options: gax::options::RequestOptions,
    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
        gaxi::unimplemented::unimplemented_stub()
    }

    /// Implements [super::client::IcebergCatalogService::update_iceberg_namespace].
    fn update_iceberg_namespace(
        &self,
        _req: crate::model::UpdateIcebergNamespaceRequest,
        _options: gax::options::RequestOptions,
    ) -> impl std::future::Future<
        Output = crate::Result<
            gax::response::Response<crate::model::UpdateIcebergNamespaceResponse>,
        >,
    > + Send {
        gaxi::unimplemented::unimplemented_stub()
    }

    /// Implements [super::client::IcebergCatalogService::list_iceberg_table_identifiers].
    fn list_iceberg_table_identifiers(
        &self,
        _req: crate::model::ListIcebergTableIdentifiersRequest,
        _options: gax::options::RequestOptions,
    ) -> impl std::future::Future<
        Output = crate::Result<
            gax::response::Response<crate::model::ListIcebergTableIdentifiersResponse>,
        >,
    > + Send {
        gaxi::unimplemented::unimplemented_stub()
    }

    /// Implements [super::client::IcebergCatalogService::create_iceberg_table].
    fn create_iceberg_table(
        &self,
        _req: crate::model::CreateIcebergTableRequest,
        _options: gax::options::RequestOptions,
    ) -> impl std::future::Future<
        Output = crate::Result<gax::response::Response<api::model::HttpBody>>,
    > + Send {
        gaxi::unimplemented::unimplemented_stub()
    }

    /// Implements [super::client::IcebergCatalogService::delete_iceberg_table].
    fn delete_iceberg_table(
        &self,
        _req: crate::model::DeleteIcebergTableRequest,
        _options: gax::options::RequestOptions,
    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
        gaxi::unimplemented::unimplemented_stub()
    }

    /// Implements [super::client::IcebergCatalogService::get_iceberg_table].
    fn get_iceberg_table(
        &self,
        _req: crate::model::GetIcebergTableRequest,
        _options: gax::options::RequestOptions,
    ) -> impl std::future::Future<
        Output = crate::Result<gax::response::Response<api::model::HttpBody>>,
    > + Send {
        gaxi::unimplemented::unimplemented_stub()
    }

    /// Implements [super::client::IcebergCatalogService::load_iceberg_table_credentials].
    fn load_iceberg_table_credentials(
        &self,
        _req: crate::model::GetIcebergTableRequest,
        _options: gax::options::RequestOptions,
    ) -> impl std::future::Future<
        Output = crate::Result<
            gax::response::Response<crate::model::LoadIcebergTableCredentialsResponse>,
        >,
    > + Send {
        gaxi::unimplemented::unimplemented_stub()
    }

    /// Implements [super::client::IcebergCatalogService::update_iceberg_table].
    fn update_iceberg_table(
        &self,
        _req: crate::model::UpdateIcebergTableRequest,
        _options: gax::options::RequestOptions,
    ) -> impl std::future::Future<
        Output = crate::Result<gax::response::Response<api::model::HttpBody>>,
    > + Send {
        gaxi::unimplemented::unimplemented_stub()
    }

    /// Implements [super::client::IcebergCatalogService::register_iceberg_table].
    fn register_iceberg_table(
        &self,
        _req: crate::model::RegisterIcebergTableRequest,
        _options: gax::options::RequestOptions,
    ) -> impl std::future::Future<
        Output = crate::Result<gax::response::Response<api::model::HttpBody>>,
    > + Send {
        gaxi::unimplemented::unimplemented_stub()
    }

    /// Implements [super::client::IcebergCatalogService::get_iceberg_catalog].
    fn get_iceberg_catalog(
        &self,
        _req: crate::model::GetIcebergCatalogRequest,
        _options: gax::options::RequestOptions,
    ) -> impl std::future::Future<
        Output = crate::Result<gax::response::Response<crate::model::IcebergCatalog>>,
    > + Send {
        gaxi::unimplemented::unimplemented_stub()
    }

    /// Implements [super::client::IcebergCatalogService::list_iceberg_catalogs].
    fn list_iceberg_catalogs(
        &self,
        _req: crate::model::ListIcebergCatalogsRequest,
        _options: gax::options::RequestOptions,
    ) -> impl std::future::Future<
        Output = crate::Result<gax::response::Response<crate::model::ListIcebergCatalogsResponse>>,
    > + Send {
        gaxi::unimplemented::unimplemented_stub()
    }

    /// Implements [super::client::IcebergCatalogService::delete_iceberg_catalog].
    fn delete_iceberg_catalog(
        &self,
        _req: crate::model::DeleteIcebergCatalogRequest,
        _options: gax::options::RequestOptions,
    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
        gaxi::unimplemented::unimplemented_stub()
    }

    /// Implements [super::client::IcebergCatalogService::update_iceberg_catalog].
    fn update_iceberg_catalog(
        &self,
        _req: crate::model::UpdateIcebergCatalogRequest,
        _options: gax::options::RequestOptions,
    ) -> impl std::future::Future<
        Output = crate::Result<gax::response::Response<crate::model::IcebergCatalog>>,
    > + Send {
        gaxi::unimplemented::unimplemented_stub()
    }

    /// Implements [super::client::IcebergCatalogService::create_iceberg_catalog].
    fn create_iceberg_catalog(
        &self,
        _req: crate::model::CreateIcebergCatalogRequest,
        _options: gax::options::RequestOptions,
    ) -> impl std::future::Future<
        Output = crate::Result<gax::response::Response<crate::model::IcebergCatalog>>,
    > + Send {
        gaxi::unimplemented::unimplemented_stub()
    }

    /// Implements [super::client::IcebergCatalogService::failover_iceberg_catalog].
    fn failover_iceberg_catalog(
        &self,
        _req: crate::model::FailoverIcebergCatalogRequest,
        _options: gax::options::RequestOptions,
    ) -> impl std::future::Future<
        Output = crate::Result<
            gax::response::Response<crate::model::FailoverIcebergCatalogResponse>,
        >,
    > + Send {
        gaxi::unimplemented::unimplemented_stub()
    }
}
